#pragma once
#include"public_struct.h"
	bool judgeCircle(string moves) {
		int l = 0, r = 0, u = 0, d = 0;
		for (auto i : moves) {
			if (i == 'R')r++;
			else if (i == 'L')l++;
			else if (i == 'U')u++;
			else d++;
		}
		if (r == l && u == d)return true;
		else return false;
	}
